// src/services/LocalTranslator.ts
import { type Translator, type TranslationResponse } from './Translator';

export class LocalTranslator implements Translator {
  valid(): boolean {
    return true
  }
  getName(): string {
    throw new Error('Method not implemented.');
  }
  async translate(): Promise<TranslationResponse> {
    // 本地翻译逻辑
    return {
      translation: '本地翻译结果',
    };
  }
}